﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;

namespace GoPlay.Models
{
    public interface ITeamRepository
    {
        int CreateNewTeam(Team team);
        void DeleteTeam(int id);
        void UpdateTeam(Team team);
        Team GetTeamByID(int id);
        IEnumerable<Team> GetAllTeamsForUser(int userId);
        int SaveChanges();
    }}